package org.example.coffeeshoporderingsystem.order.dto;


import org.example.coffeeshoporderingsystem.product.entity.Product;

public class AddProductDTO {
    private Product product ;
    private Integer quantity ;

    public AddProductDTO() {
    }

    public AddProductDTO(Product product, Integer quantity) {
        this.product = product;
        this.quantity = quantity;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "AddProductDTO{" +
                "product=" + product +
                ", quantity=" + quantity +
                '}';
    }
}
